package com.ss.android.f.b.a.a;

import android.os.Looper;
import com.bytedance.common.utility.b.ThreadPlus;

final class k implements Runnable {
    private final DirectoryCacheHelper a;

    k(DirectoryCacheHelper arg1) {
        this.a = arg1;

    }

    public final void run() {
        int v0 = Thread.currentThread() == Looper.getMainLooper().getThread() ? 1 : 0;
        if(v0 != 0) {
            ThreadPlus.submitRunnable(new DirectoryCacheHelper.a(this.a, (byte) 0));
        }
        else {
            this.a.a();
            this.a.a = true;
        }
    }
}

